add unit test for date format in a certain locale