adding qunit tests.