fix broken tests

GitHub changed the url scheme for gists, this is fixing the
failing tests

Fixes #3897