eventfd test add API test

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>