- -testagents pl and cleanup