Hey, could you add unit tests for this? Examples of controller tests are [backpack-connect.test.js](https://github.com/mozilla/openbadges/blob/development/test/backpack-connect.test.js) and [backpack-connect-controller.test.js](https://github.com/mozilla/openbadges/blob/development/test/backpack-connect-controller.test.js).