Fix range controller swap
Merge branch 'pr/1252' into range-controller-swap
Add test for RangeController#swap to prove that #1252 works.
Merge pull request #1365 from asolove/range-controller-swap

Range controller swap