Fix an error in a test