testing for bson output format