Fix a logic error in a test.