[PATCH 04/15] NetTestController: add run_mode attribute