add unittest configuration

- uses libevent