KH-183: Tests for codes tree search functionality