Update unit test to conform to pin-entry mechanism change

The test failed after the changes in eb830c6fe178c519f81bd4fc4170f495b7d27f30, this should fix it
Merge pull request #35 from tjeb/unit_test_fix

Update unit test to conform to pin-entry mechanism change