Refactor SM2 instance test

Compare dates for next repetition relative to each other instead
of relative to today's date to resolve inconsistent test behavior.