Started adding Qunit tests