CiviCRM 5.40, 5.41 support or test fixes
5.39 broke tests, and some core functionality.
In 5.40 we have other problems including at least one new one: creating a membership in the past seems to fail now - Civi is setting the membership start date to today.