unit tests for module_render