Tooltip: on close and destroy only set title if empty or undefined. Fixed #8925 - Updates for code comments.

Uppercase code comment, and refactor unit tests to allow for more
variations without duplicate code.