changed the way that the variable g_region behaves based on if the g_test string is passed as an argument