Add customer_test.rb and fix some customer.rb tests