Test datetime fixups