added testnet support