Error fixed in tests.