added regression test to show that Model.findOneAndUpdate() appends discriminator type conditions to queries.
CS
set discriminatorKey schema option to '__t' by default