xml: make tests independent from purple