agent: remove unnecessary sleep from tests