Port all tests to cjs. Browserify all tests for ci