XD-1110 Fix JobRepoTests

- Fixed JobRepoTests to use a test hsql database
  so that the batch repo is different from what XD runtime uses.