add test for reconnections