validation tests create & edit template