add a new test for LineDetector