Improve test coverage of the module.