updated test function for mnemonic