use require in both production and test code to manage dependencies between modules. thanks to browserify