tests: add test for EV_SIGNAL with timeout Refs: https://github.com/libevent/libevent-book/issues/12