Test for basedir in the Browserify options. Fixes #30.