Add test for processing large bson entries

Tried this without our modifications and it failed. With our
modifications the test passes.