TESTS: Testing for the doubling algorithm in riccati.py