added line tests for line-line and line-triangle