Added Qunit tests