LINQ XML read/write test