unit-tests: Allow default test timeout to be configured via compile option