updated crossover test - IF