The functional timer test (/src/tests/timer-test/timer-test.c) hard codes the number of timers to 4, which may be higher than the OS_MAX_TIMERS configuration set in osconfig.h.
It is recommended to update the test to use the OS_MAX_TIMERS configuration macro or add protection with an #if guard.