Fixed tests by allowing datetime multiple possible formats