added test for credit card validator