Few working tests for qunit, pushing to serve as examples.
Note: to run tests, simply drag html file into browser.