Add support for testnet
Merge pull request #7 from petertodd/testnet

Add support for testnet