add first-class function and function literal test