added qunit to test task and fixed some tests