Add tests for async server-side mongo writes.