Hub on(), off() and trigger() added and tested