Fix the display of time differences and tests to validate