Add timeout to pass through to requests and add test