Fix test that did not do what was intended