Added tests for distance2line