Fix OS dependant test (date format)