Add test to cover templates arg.