/** test that tag list is correctly parsed */
 @Test
 public void testProperTags() throws JSONException {
   QuizQuestion q = QuizQuestion.parseFromJSON(new JSONObject(PROPER_JSON));
   assertEquals("Tags do not match", properTags, q.getTags());
 }
 /** test that solution index is correctly parsed */
 @Test
 public void testProperSolutionIndex() throws JSONException {
   QuizQuestion q = QuizQuestion.parseFromJSON(new JSONObject(PROPER_JSON));
   assertEquals("Solution index does not match", 2, q.getSolutionIndex());
 }
 /** test that question body is correctly parsed */
 @Test
 public void testProperBody() throws JSONException {
   QuizQuestion q = QuizQuestion.parseFromJSON(new JSONObject(PROPER_JSON));
   assertEquals(
       "Question body does not match", "What is the capital of Antigua and Barbuda?", q.getBody());
 }
 /** test that question owner is correctly parsed */
 @Test
 public void testProperOwner() throws JSONException {
   QuizQuestion q = QuizQuestion.parseFromJSON(new JSONObject(PROPER_JSON));
   assertEquals("Question owner does not match", "sweng", q.getOwner());
 }
 /** test that question ID is correctly parsed */
 @Test
 public void testProperID() throws JSONException {
   QuizQuestion q = QuizQuestion.parseFromJSON(new JSONObject(PROPER_JSON));
   assertEquals("Question ID does not match", EXPECTED_QUESTION_ID, q.getID());
 }