Added template tests for Worfklow