sale_validity: backport 8.0 tests to 7.0