Add tests for leap year calculations