Added test. Fixed PingServlet