Add dump-xresources to test.

    * TODO: validate result.