Update test after changing API. This fixes bug 40821. Thanks to Renaud Richardet for the patch.
Changed paths: