Fixed issue regardin calling authcheck method with correct context. Added support for travis-ci