Move requests into services for easier testing.

- Set up test configuration
- Add test for loader.io script
- Add coverage for loader.io service