made some progress on xmodule jasmine tests