Additional writing/reading tests
Additional writing/reading tests
More validation and related tests.
Added test for multiple targets
Modified documentation