Fix date format in tests