and a test to go with it Remember to run the test when changing word lists, or simplewallet will throw uncaught if that word list is used.