discriminator: checking fields are inclusive. #1820
discriminator: add test cases when checking fields are inclusive. #1820