Added tests for thread
The wait helper for CMSIS casts the durations to milliseconds now