ME: refactored 'get_field_xpath'; moved recursive function outside class
ME: a test for 'get_path' function