[Brain, Mukiza] Fixing test isolation and also making sure that line items are displayed initially if they already exist