Reformat code of ModuleTest to adhere to coding guidelines