TAJO-1156: Improve the comparison of timestamp and date types

Added comparison of date and timestamp and test functions on two test units.