Make it easier to run tests in browser
Fix failing test
A few more regression tests