Added unit test for lsa.py.