Added helper functions to wrap time calculation.
Removed break in the test code.
Fix up start/end times and created a new test case for testing the new TrackingEntry functionality.