Add simple read/write test case