Implements module tests

closes #2521
- Add new module tests
- Implements new `test-module` task to specifically run module tests