modernize the test code, and run one test per sample date
some more sample dates from my own mailboxes
Changes for version 0.401