MDL-38717: Lesson mod: fixed behat script to accomodate the fix of settype()