move all xml expectaions to helper