Index: tests/phpunit/tests/taxonomy.php
===================================================================
--- tests/phpunit/tests/taxonomy.php	(revision 25709)
+++ tests/phpunit/tests/taxonomy.php	(working copy)
@@ -152,4 +152,26 @@
 		_unregister_post_type( $post_type );
 
 	}
+	
+	/**
+	 * @ticket 14485
+	 */
+	function test_taxonomy_hierarchy_cache() {
+		$taxonomy = 'where-you-live';
+		register_taxonomy( $taxonomy, 'user', array('hierarchical' => true,  'show_ui' => true, 'query_var' => true, 'label' => __('Where they live')) );
+			
+		$country = 'USA';
+		$state   = 'New York';
+	
+		$tax_country = wp_insert_term($country,  $taxonomy);		
+		$country_term_id = $tax_country['term_id'];
+		wp_insert_term($state, 'where-you-live', array('parent'=>$country_term_id));
+			
+		$state_terms = get_term_children($country_term_id, $taxonomy);
+		
+		$term = $state_terms[0];
+		$result = get_term($term, $taxonomy);
+			
+		$this->assertEquals( $result->name, $state );
+	}
 }
