implement tests for updating a quiz