added qunit files
qunit tests
updated documentation