Fixed test cmake.