Add test case for modules.