[WIP] Fix integration test errors

This only fixes errors, not failures.
Yup, cf my replies on the subject - this should work with the enforce_type patch, I have been using it for booleans on an edx.org course