added qunit test cases