Fixed cache ttl and add test in weather extension