Using valid credit card brand in development mode

When using a gateway which doesnt use valid card numbers as test card numbers for their test server (for example data cash use visa numbers that start with a 1: https://testserver.datacash.com/software/download.cgi?show=magicnumbers) CreditCard#brand will always return nil. To solve this I have replace the brand lookup with spree_cc_type which always returns 'visa' in development mode.