runInNewContext should modify passed object.