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