fix(tests): update getError test