improve xmlreader test