Made test for DiscreteLagrangian.SlotD2
Made and tested DiscreteLagrangian.SlotD2