Tests and code passing with bson > json