Added test on reconnect