upgrade moment, add `npm test`
possible fix to #1330