Fix test after commit for #972

That commit also indirectly fixed #746. The test now produces a more correct result!