fixed the bson tests