Tests for DigitalOcean class