testing github API from within the nodejs context of the module