adjust unit test to datetime print