test for XMatch.query: check the error message as well
XMatch: made the tests more readable

use keyword args in XMatch.query calls