Add testnet support and option