Add functional test for associating need_ids for detailed guides