Add lambda unit tests.
Fix bug when actual parameter count does not match formal parameter count.