Add test to enforce that 'recursive' returns a Proc