Adding time_it function and test