make work with nodeunit and add code coverage