Create basic mocha test for detect, and run via karma + karma-browserifast.