updated unit test for DigitalOceanApi::Request