Fixed error tests
Fixed test