use nodeunit for unit tests
remove tap dependency