test for customer and supplier