Refactors all existing API tests to use the v1 API endpoints
Refactors API wrapper for ease of development