add test for passing JSON data to the QuestionBuilder