Fixed tests and pubsub lease_seconds