test(utils): add tests for everything
fix(tests): don't redefine sinon and bower

To make JSHint happier, let's not "redefine" sinon and bower
vars.