Add QUnit tests and framework and update copyright.