Adding testnet support