qunit test and doc updates