Test agent as cmd parameter. Not working at all