Added QUnit.
Added basic example test.