added test for crossover class