Learning about scope

* Playing with nested function declaration and tests