added tests for credit card validator