unit test fixes, jsdoc
yuidoc wip