Add test that verifies that dates get parsed. Fixes #41.