Write tests for the regions service