Test for RuntimeAgent in a Worker.