Fix several date related compliance tests.