Add test to retrying call