Add tests for the leap year assignment