Timeline pyobjs factory test created and function implemented