What you want might be achieved by using a survey-like type of activity, such as Feedback, Questionnaire or the - forthcoming - Survey2 activities.
However, at the moment, none of those activities includes the "personality test" feature that you need. I am currently working at including the "personality test" feature in Questionnaire version 2.6 (for Moodle 2.6). Please read the Questionnaire forum to keep posted of progress. Especially this discussion "Personality Test" Data Analysis new feature project. You may also contact me directly re your project (use my email in my profile).