[PATCH v31 2/2] timeout: add minimal test suite