added some qunit tests