Added tests to scheduled manual agent