HDWallet: consistent test data ordering

Also adds network parameter for later moving the network specific tests
to be data driven.