Test `open` event.