Make tests runnable under browserify also
merge "tests-runnable-under-browserify-too"