Testcase for bug with application of global functions (with lack of arguments).