Updated Core Data test helper to use background context as root