Create ConstraintFactoryTest