Switch tests to use SGE templates.