Added write to console to tests for datetime debuging 2