How to connect to testnet node and do transactions?

I have build the **Cardano SL ** from the source code.Also then i have run the command nix-build -A connectScripts.mainnetWallet -o connect-to-mainnet then ./connect-to-mainnet. After doing this my node is start connecting to mainnet. But how can i verify my node is connected, and also how can i perform transaction in testnet or create new account through my java application?

You will get a huge stream of text if your node is properly connected, looking something like the below.

I don’t have an answer on the testnet. I would love to know as well.

nsticco@cardano3:~/cardano-sl$ ./connect-explorer-to-mainnet 
Keeping state in state-explorer-mainnet
Launching a node connected to 'mainnet' ...
[Attention] We are in PRODUCTION mode
Static peers is on: False
[*production*:DEBUG:ThreadId 5] [2018-03-23 23:49:08 UTC] Loading SSC global state
[*production*:INFO:ThreadId 5] [2018-03-23 23:49:08 UTC] Loaded GodTossing state:   commitments from: [0efd6f3b, eb649333, 1040655f, 6bef4446, ce1e50f5, 1fa56ba6, 5ffca3a3]
  openings from: [0efd6f3b, eb649333, 1040655f, 6bef4446, ce1e50f5, 1fa56ba6, 5ffca3a3]
  certificates from: [0efd6f3b, eb649333, 1040655f, 6bef4446, ce1e50f5, 1fa56ba6, 5ffca3a3]

[*production*:WARNING:ThreadId 5] [2018-03-23 23:49:08 UTC] notifyReady failed to notify systemd.
[node:INFO:ThreadId 5] [2018-03-23 23:49:08 UTC] Our verInfo: VerInfo { magic=2d964a09, blockVersion=0.1.0, inSpecs={96: Conv 43, 49: Conv 5c, 97: Conv 3d, 34: Conv 5e, 98: Conv 37, 67: Conv 60, 83: Conv 0, 4: Conv 5, 5: Conv 4, 37: Conv 5e, 6: Conv 7, 55: Conv 62, 73: Conv 5f, 43: Conv 5d, 92: Conv 31, 61: Conv 61, 93: Conv 2b, 94: Conv 25, 95: Conv 49}, outSpecs={49: Conv 5c, 67: Conv 60, 83: Conv 0, 4: Conv 5, 5: Conv 4, 37: Conv 5e, 6: Conv 7, 55: Conv 62, 73: Conv 5f, 43: Conv 5d, 13: Conv 0, 61: Conv 61}}
[node:DEBUG:ThreadId 5] [2018-03-23 23:49:08 UTC] startNode, we are NodeId 044d5f4d-ebe6-4eb1-a5dd-93b27c1f7563
[node:INFO:ThreadId 5] [2018-03-23 23:49:08 UTC] cardano-sl: commit unknown
[node:INFO:ThreadId 5] [2018-03-23 23:49:08 UTC] Application: cardano-sl:0, last known block version 0.1.0
[node:INFO:ThreadId 5] [2018-03-23 23:49:08 UTC] My public key is: pub:e52af0cc, pk hash: ecc964ca
[node:INFO:ThreadId 5] [2018-03-23 23:49:08 UTC] Genesis stakeholders (7 addresses, dust threshold 7 coin(s)): GenesisWStakeholders: {1deb8290: 1, 43011479: 1, 5071d880: 1, 5411c7bf: 1, 65904a89: 1, 6c9e1497: 1, af2800c1: 1}
[node:INFO:ThreadId 5] [2018-03-23 23:49:08 UTC] First genesis block hash: 89d9b5a5, genesis seed is 76617361206f7061736120736b6f766f726f64612047677572646120626f726f64612070726f766f6461
[node:INFO:ThreadId 5] [2018-03-23 23:49:09 UTC] Last known leaders for epoch epoch #33 are: [af2800c1, 6c9e1497, af2800c1, 6c9e1497, 5071d880, 43011479, 1deb8290, 43011479, 43011479, af2800c1, 1deb8290, 5411c7bf, 5071d880, 43011479, 6c9e1497, 5411c7bf, 6c9e1497, 1deb8290, 1deb8290, 5071d880, 5411c7bf, 65904a89, 65904a89, 5411c7bf, 43011479, af2800c1, 6c9e1497, 5411c7bf, 43011479, af2800c1, 43011479, 65904a89, 1deb8290, af2800c1, 43011479, 5411c7bf, 65904a89, 1deb8290, 5071d880, 1deb8290, 43011479, 5071d880, af2800c1, 1deb8290, 43011479, 1deb8290, 6c9e1497, 5411c7bf, 43011479, 5411c7bf, af2800c1, 5411c7bf, 1deb8290, 65904a89, 6c9e1497, 65904a89, 65904a89, 6c9e1497, 6c9e1497, 1deb8290, 5411c7bf, 43011479, 43011479, 5411c7bf, af2800c1, 6c9e1497, 1deb8290, 43011479, 5071d880, 43011479, 43011479, 5411c7bf, 5071d880, 43011479, 1deb8290, 6c9e1497, 5071d880, 6c9e1497, 43011479, 5411c7bf, 65904a89, 65904a89, 65904a89, 5411c7bf, 43011479, 5