test for kqueue write filter