add tests for modules