added datetime to unit tests