Fix bugs. Add test for create customer.