Fix a unit test that was invalidated shortly after its creation