We're deprecating providertest.NewProviderTest, so use the new
pulumitest based approach instead.
- Update test code to use PreviewProviderUpgrade.
- Use provider attachment instead of the bin directory.
- Rename state.json to stack.json & let the first run migrate the stack
to a stable, non-machine dependent name.