adding constraint validation tests