Fixed test compilation issues.