lettuce-4 Add tests for untested code