Adds Tests for request retry functionality