fixes for left shifts.
tests for editing loop routes.