Add a test for MAX_IDLE_TIMEOUT - the test doesn't work.