Create query-error-handling-tests.js