Replaced custom function `l-swap` with `rotate-f`.

Added some tests.

TODO
Updating origin master