Add 2 jobs and runs them, after that query one of them, compare stdout to check if job is correct.
Not sure if that is the best way for checking stdou but it works.
fixes #164
This test is enough right, maybe I will add one more where the query command returns more then 1 job, but if the commands have unnittests this should suffice.
Add 2 jobs and runs them, after that query one of them, compare stdout to check if job is correct. Not sure if that is the best way for checking stdou but it works. fixes #164