Add test for appendIfSmaller
Fix test for appendIfSmaller
Implement appendIfSmaller
Add alphabetic test for appendIfLarger
Add alphabetic test for appendIfSmaller