For the test agent process to start even after restart of the machine, you need to either log in as {0} or enable auto logon. ...