XD-1620 Fix JobCommandTests

- Avoid using `JobExecution.getRows().get(0)`
  - Instead, get the matching jobExecution for the given job name and return the jobExecutionId for that row
- The same fix isn't needed for StepExecution list because they are retrieved on a given `jobExecutionId`