make tests run with nodeunit and add coverage