fix an error in a test