Followup fixes for open source

- add Object.assign polyfill
- make sure we pre-transform spread in tests