Improve test to see whether block has content

XML path elements that are empty actually have a forward slash. So a
test to see if the path is empty will be false. You have to see if the
path has *only* a forward slash.
Add contentBox and title tests to format.