Add order line concept.
Simplify state unit tests with mocks.