added tests for $set and $setOnInsert operations