Fix output issue for genotypes.  Add test cases to verify string output
for classes.