Added xml export testing.