add test cases for keepalive_timeout directive