Write tests for running different queries in backend (see description)
Depends on #82
As we found out in the demo, we need rigorous testing to reveal issues. We need tests for backend which may reveal issues we have solved before, like the monitoring hanging if a short query is run.
Add backend tests with many different queries and settings