added qunit framework for testing