Updating google api retry policy, writing thorough test for it