Adding test cases for the jobSuccess and jobError events
Adding test cases for the run, list and keygen commands