STM32 test fixes