Genetic algorithm tests