Fix bad expectation causing pending test to fail