Added tests for the setVertex() method in the Line class.