add unit test for linelabel