Updated tests to refer to PIN_TEST_KEY env var.

Pin uses a separate end-point and API key for their test API. Tests have been changed to source the PIN_TEST_KEY environment variable.
To-do: set test URL to match https://test-api.pin.net.au