Add helper method to test for when GitHub blocks an API request