Changed default api url option.  Added helper function in publishing tests for simplifying setting target api url.