added unit tests to the module loader and refactored for better testability
Merge pull request #43 from Harvard-ATG/feature/module-loader-tests

feature/module-loader-tests