updating tests
problem to convert bson into json or objects (with undefined)