'Test setting many fields that are scoped to Scope.user_state'

def test_set_many(self):

    kv_dict = self.construct_kv_dict()
    with self.assertNumQueries(4, using='default'):
        with self.assertNumQueries(1, using='student_module_history'):
            self.kvs.set_many(kv_dict)
    for key in kv_dict:
        self.assertEquals(self.kvs.get(key), kv_dict[key])
