Locale decimal support works, also add unit tests.