add unit test for lcpp