Fixed fitness function test