Test specifying endpoint url doesnt cause errors