sptest: sp2038: Add a test for leap year

Bug test case for PR 1422