Fix tests, link module template to it