Test reciprocity of date conversion functions