adding tests for genetic algorithm structure