Quizzes that upgrade subscription

Is there a plugin that I can use to create a quiz that will automatically update a users subscription when the test is passed?