unit tests: Only initialise tcpip_adapter() when needed by the test See merge request idf/esp-idf!3364