test for country code logic
fixed country code logic