Added new test based on how otemplate renders. Added note to take care to avoid double onion_dict_free.