testing discriminator