add integration test for credit card validation