missing 5.2.x compatibility in tests