spec for validating quantity