marks validation, factory, validation tests