Add functional tests for Log implementation.

Once again prep work for persistent log implementations.