The test suite's tools.php file includes various utility functions for printing objects. Many of these predated debug handlers for those objects, so we should replace these with var_dump(). Using var_dump() would also ensure that tests get updated if/when new fields are added to these objects.
Suggested functions to replace:
- printWriteResult
- printWriteConcernError
- printWriteError
- getInsertCount
- getModifiedCount
- getDeletedCount
- getUpsertedCount
- getWriteErrors
- printServer