modify credit card validation spec helper
move card validation method to card validator and refactor test cases
refactor credit card class and its test cases