Added tests for v2 templatemap endpoints.