Added tests for direct anonymous function invokation in expressions