added test for lagrange.py with two forces