fixup dpop
fixup datesafe_eq
fixup: Add tests
fixup: don't use datesafe_eq on nondates