Fix tutorial test by changing argument order