added tests for modules