test: integrate QUnit to enable browser testing

Closes #2