Add regression tests for module.
