Improve xresources tests