Add test for creating a stream before a query is queued
query.stream()._read without connection is a no-op

Fixes errors when `.stream()` is called on a query without a
connection (e.g. a query created using `createQuery`).