Add basic r/w test.