Add tests for lsd