Adds a compiler integration test for recognizing signal-based queries, and emitting the expected output. Concrete output will be verified via the compliance tests. PR Close #53978