Added ping test

First step in end-to-end testing infrastructure. Currently untested.