test_generator.py: Added test_nested_func_calls()