leap year calculator test refactor

refactored tests to make corrections