Doing some tests with kqueue