Add initial xunit tests for calling anonymous functions.