Fixing an incorrect Object.assign test