allow testing test_sage.py using sage -t; fixes #8585

the asserts do not seem useful anyway