Fixed date format in test