Add testcase to leapYear to make sure the logic works.