Fix broken tests due to new relationship between ApplicationUser and Case