test DiffTime and fix it