fix search-stream test (was non-deterministic)