Add ping() to test connections

This PR adds a new ping() api to data source for the purpose of testing connections
/to @bajtos 
/cc @ritch @seanbrookes 
It should an empty array `[]`.