[Remo/James] fixed datetime test and build