Add test on sorting with conditions.
Add test on whitespace removal so I won't break it by accident.