Fix test after error renaming