Testing Line class.