Auto corrections from rubocop
Add more sleeps to pubsub specs