testing libevent scheduling