Test coverage for UI functions
Add a comment

Because I looked at the code and had no idea why it was doing what I
made it do in commit 484faed2.