converted datetime to string, and fixed the dependent tests