Tests for Tree... reading and writing.