amended invoiceTest and ShopNoGui to make GUI method