some Hub tests added
cleanup, debugging
Hub subscribe(), unsubscribe() and publish() bug fixes and tests