moar tests and fixes for the date problem.

fixes #15