[test] Add additional test cases to increase code coverage for isBeforeMoment method.
[test] Add additional test cases to increase code coverage for isBeforeMoment method.

strictlyd/YLMoment,samwize/YLMoment,yannickl/YLMoment,samwize/YLMoment,samwize/YLMoment,yannickl/YLMoment,strictlyd/YLMoment