Add test case for function cut_lines().