Fix failing test in ApplicationClientTestRun