add unit test for connection handle ID distribution