added a test to check that a query iq with something else than item should return a bad-request error