add test on leap years and value sanitization algorithm