Added testnet support