Added an integration test for the genetic algorithm.