added some basic testing
test reconnection