Fixed test compile errors