example test: Add multi target support Closes IDF-1531 and IDF-807 See merge request espressif/esp-idf!8242