Added new methods to both classes for handling registering event router in communication hub. Amended tests accordingly.