Fixed a bug involving adding numbers >100 on the right-hand-side and improved the unit tests.