[PATCH v3 08/18] NetTestController: add prepare_test_env and init_taskapi methods