add test for recursive no-param function