Modified logic for preparing test question for the part test