added testIsCustomerNotNull method