changed method testQueriesFailWithWrongDataTypes