Added some initial unittests and lettuce tests.