Can you explain to me just for my own curiosity why you scope the mocking here inside `suiteSetup`? Also you have two mock xhr functions. Maybe move this out into a shared helper?