add present
update read and write tests
tighten up test scripts