HDWallet: moves fromBuffer tests to data driven style