Add basic test for getbestblockhash.

And move the getblock/getblockcount so they are in order.