Move up response mocking so it can be shared
Add test cases for new refresh functionality and fix broken tests