Changes in LatencyTest and Time_t, still some bugs