fixed test to support xml versions