Fixed a bug in GeneTest