add tests for module loader