Fix tests on LightCurve Factory branch