Fix a test where an unrelated assert was done