Created client for requesting XML or JSON, and some example tests showing usage.