added string read/write test