Me and a buddy of mine made a dungeon that contained the seven deadly sins so here is what we used for our tests.
gluttony, you enter a feast hall full of food, if the player eat any of the food they gain a temporary bonus to a stat like +1 wis or the like. the players will most likeley keep eating but if they ever choose to stop they must make a will save and the more amount of food they have eaten the higher the save dc to stop.
lust... seccubus.
greed, the players enter a room full of treasure of all sorts. all they must do is make a search check to find what they are looking for, however every item they take has a delayed curse effect that activates when they leave the room. if they take any gold pieces or the like the coins actually eat each other and all other currency on the player leaving only one coin in the players purse the next time they try and buy something or the like.
wrath, big scary monster that was healed by the players attacks and harmed from heal spells
pride, players enter a room with a scale in it. the scale is tipped to one side and the players must sacrifice ability score to the scale to balance it out. the scale would take the core ability score from the player sacrificing to it example rogue would be dex sorcerer would be char etc. but multiple player could sacrifice to the scale. all players who were willing to sacrifice to the scale got their ability scores back when they left the room while the others who didnt sacrifice took the penalties.
sloth, a long trapped hallway that unless the players ran to the back and pulled the lever and ran back to the front were trapped in the hallway behind a series of shutting doors.
envy, we made the players enter a room with a large mirror on the other side. as they looked in the mirror they saw something they truly desired on another member of the party. they were then presented with voices in their heads telling them about how the other players stole their gifts etc and how you had to fight them to get them back.