Disable non-testnet test in testnet builds.