Print function, query returns a string result of the request, simple print tests