Add unit test for JS locale-timestamp