Wrote basic tests for lambda expressions.
Attempt to update docs based on lambdas.