Add a regression test that checks that recursive functions using a `return` statement work correctly. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>