tests and fixes to line_sens