Add line and intersection tests