added ping test for api