Added OptionalAndMandatoryTest