[time.js] more test cases

Bug: 48145
Change-Id: I1163b32a9648cc43c0e0b8399f2a153e6c730c1c