test case and fix for scenario where customer already exists.