Fix basic_stream_tests.

Add database initialization which is no longer enabled by default.