Added tests and coverage report. Updated qunit.