Better testing for agent running!