revert change to API endpoints used for testing