move tests to unittest format
check message length in mnemonic encode