add spec for passing an array to `on` argument of `add_listener`