correctly handle the xml when only one item is found
add some more output for VERBOSE testing