Tests for line simplification