100% coverage for lib/read.js