Updated Error unit test.