adding qunit tests