Finished the setNextModule tests
Added module loader tests