fix var leaks in tests
fix var leaks in tests

GetStream/stream-js,rogerhokp/stream-js,baldurh/stream-js,GetStream/stream-js,sdemonti/stream-js,GetStream/stream-js,GetStream/stream-js,sdemonti/stream-js,rogerhokp/stream-js,baldurh/stream-js