Add test coverage for Line->getDiff