I want to use admin.transferProxyAdminOwnership() to transfer the ownership of the proxy admin contract. This works, but if I test again, then it will throw an error saying the caller is not the owner. Is there a way I could avoid this problem in the way I transfer the ownership.
Environment
I am using truffle's testing tools on solc version 0.5.16.