remove the with_ctx in the test_ridgereg.py