Thank you for contributing a test case! We need a lot more of this.
I am wondering, however, what aspect of anaconda is being tested here. We already have a test case for individual packages (see packages-and-groups-1.ks). It looks to me like you are more testing that the ssh config can be modified in a %post, which anaconda isn't really involved in at all.