initial commit
fixed connection.received spy in hub tests