TST: make sure correct exception classes are tested in query