Added a call to setListeners and added console.logs to verify the events were being called.