doc: add read/write example to readme

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
test: make read/write test simpler

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>