Add unit tests for resolver
add unit tests for pinger