add recurse unit test with method parameter