fix angular services tests
add integration test for level queries controller