anchor.diff:  -ifdef(TEST).
   
   config_lookup_test() ->
  -    ?assertEqual(false, config_lookup(myframeid, sort, [])),
  -    ?assertEqual(false, config_lookup(myframeid, sort, [{myframeid, []}])),
  +    ?assertEqual({sort, 1, ascending}, % default picked due to missing id
  +                 config_lookup(myframeid, sort, [])),
  +    ?assertEqual({sort, 1, ascending}, % default picked due to missing key for id
  +                 config_lookup(myframeid, sort, [{myframeid, []}])),
       ?assertEqual({sort, 3, ascending},
                    config_lookup(myframeid, sort,
                                  [{myframeid, [{sort, 3, ascending}]}])).
  
positive.code:       || {HeaderCell, N} <- HeaderSpec]}.
  
  frame_header_cell(Id, {Caption, AttrList}, N, Sort, true) ->
      Link = lists:concat([Id, ".", N]),
      SortCaption = frame_header_caption(Caption, N, Sort),
      {th, AttrList, [{a, [{href, Link}], [{str, SortCaption}]}]};
  frame_header_cell(_Id, {Caption, AttrList},_N,_Sort, false) ->
  
negative.code:                                {myframeid, [{sort, 1, ascending}]}])).
  
  config_update_test() ->
      ?assertEqual([{myframeid, [{sort, 1, descending}]}],
                   config_update([], config_link(myframeid, sort, 1))),
      ?assertEqual([{myframeid, [{sort, 1, ascending}]}],
                   config_update([{myframeid, [{sort, 1, descending}]}],
                                 config_link(myframeid, sort, 1))),
      ?assertEqual([{otherframeid, [{dummy, 123}]},
                    {myframeid, [{sort, 3, ascending}]}],
                   config_update([{otherframeid, [{dummy, 123}]},
                                  {myframeid, [{sort, 1, ascending}]}],
                                 config_link(myframeid, sort, 3))),
  
      ?assertEqual([{myframeid, [{show_table, true}]}],
                   config_update([], config_link(myframeid, show_table, true))),
      ?assertEqual([{myframeid, [{show_table, false}]}],
                   config_update([{myframeid, [{show_table, true}]}],
                                 config_link(myframeid, show_table, false))).
  
  linewrap_test() ->
      ?assertEqual("abcdefghij" ++ ?HTML_LINEBRK ++
  