Make sample xml tests dynamic