fixed errors in item_test & invoice_test -- added sales_engine & repository variables