added agent restart test for when agent is down and maintenance timeout expires.