added tests for ping service