Add basic qunit functional tests.