Improved the testing and made the module acessable without require