Testing a location api with flask