add integration test for teacher queries controller