Update test_lightcurve.py