Updating TemplateTests.java to address linux build failure