Make TimeStat friendlier to Mockito spies

Make TimeStat friendlier to Mockito spies