updates to test blocking connection wait
more updates
mocks now?
adds tests for blockuntilconnected