Add inner tests for timeout mechanism