Some fixes in tutorial tests