Fix test that didn't actually test what it wanted to test.