Adding coverage for caching registration steps data when retrieving data from API fails.