adds ability to get random country code and tests.