fix examples in readme

remove bad error handling and don't call toString on functions or
strings
remove util.format - mocha now does this
update tests