Added some qunit tests