Test registerCustomer and clean up code