coverage added, converted to jasmine from nodeunit
Merge remote-tracking branch 'origin/master'