ALM-618 fix test for date validation