fix test when no xml