mocha testing + github api