Fix tests which have problems with agent generation based on examples from RVMonitor