Fix failing tests in ActiveJob Adapter
Merge pull request #16777 from seuros/testcase

Fix failing tests in ActiveJob Adapter