Updated LineItem, fakeDb, and discount classes