Add tests for d3.locale.