add test case for the "timeout" directive.