extract tests to GetterSetterTest.
extract tests to ReaderWriterTest.