add test for line element