Make the API interface have prettier urls; modified test