fix broken tests

GitHub changed the url scheme for gists, this is fixing the
failing tests

Please run `npm test` as I experience a another error probably from 2389525a1df6d20e780cca5887f1b73ff583ce8d which may be just related to my local machine

Fixes #3897