import write test
more work on adding write support