tests for commonjs env (browserify in that case)