fixed and cleanup tests
fixed typo in geneateTests