Write tests for the countries service