Test and invite are only synonyms for tempt in a very narrow way. As the definition has it, to tempt is to try to persuade a person to do something by making that action seem attractive. It also has the suggestion (connotation) that the action is something that is wrong, that you shouldn't be doing.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.