Fix tests
Add TestRecursion