reworte test for lin.execute() with mocking