FIX: Corrected checks for date validation in archive method and added supporting tests
Merge pull request #13 from micmania1/12-unreached-statement-in-archive

FIX: Corrected checks for date validation in archive method and added supporting tests.