Testing event outside of listeners