Added unit tests for module.