Updated `test_truncate_by_index()`
Updated `test_truncate_by_index()`

Updated `test_truncate_by_index` in class `TestLightcurve` to check if `truncate_by_index()` works with new attributes.  Removed similar test from class `TestNewPeraSupport`.

StingraySoftware/stingray