Improved TimeMeasureHelper so it has a more precise measurement
Fixed unit tests