def METHOD_NAME(self):
    code = "test_list = [x, add_two(x)]"
    state = {"x": 3}
    result = evaluate(code, {"add_two": add_two}, state=state)
    self.assertListEqual(result, [3, 5])
    self.assertDictEqual(state, {"x": 3, "test_list": [3, 5]})