added id in the expected values to avoid deleting data.id
attributes of Lexicon should come first
modified to use a single entry stack