added separate struct tests
testing tools update
added read/write test