Reactivate thrown error test
Finish tests for public QueryManager functions