Fix test containing date