added a small test for the hubserver and hubcomserver, aswell as
implemented the hubcomserver.