Added test to verify hasChildNodes() change.