Fix datetime value in test