testing for null locale.