Basic r/w test

Basic read and write test.