Added template to parameters
Added template parameter and added to test case