fix test and date format