Added test for using function literals (anonymous functions).
Added test for using functions as variables.
Added test for defining a method that accepts a simple function parameter.