bug fixes in CustomerDB, CustomerDBTest working, modified other test
class