Bson conversion tests