Fix NPM github URLs and tests.