Added TimeSampleTest