Added a test to verify that ReconnectWindows work appropriately.

Fixed tests to abide by new heartbeat timer and the last message at value.

Fixed some more keep alive fact tests since the heartbeat monitor now requires to be started before beat works for keep alive.