test gist api url generation