Detect errors in number conversion.
Introduce proper _MAX macro for AceTestId_t.