- Add a unit-test for lm_remap().
- Find few minor bugs.