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

...pporting tests.

Fixes #12