Created read/write tests