Add unit tests for the GridFS adapter