Fixed test error codes