Updating getAuthResponse, to create an instance
Adding Karma/Mocha/Chai testing environment, run with 'npm test'