fixing the test code - Wokwi ESP32, STM32, Arduino Simulator