Basic tests for snapping lines (ref #697)