Fixing the failing test: mocking the xmodule_runtime.

TNL-900