Change testnet flag from bool to string.