out with .throw() and .chop(), in with .raw()
update mocha dependency
update test suite for latest api changes