Test getting with time_segment