Added a number of tests for the Xget_value functions

I found a bug where looking up an invalid path did not properly set
entry_data.has_data to false. This is now fixed.