Adding UTs for anonymous functions.