finished the yaml document navigation and added test