test: add basic read/write test

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