Added initial qunit tests