Hotfix for API endpoints
Updated test script to use correct urls