added template and test file