Add a test for --goto-event.

Realized we were missing this as I was finishing up #763 part 1.