Adding a test for json/bson encoding.