[PATCH 06/14] NetTestCommand: Adding get_type() method