Fixing tests.
Test for roundtrip registration.
Added client shutdown and failing test for hub de-registration