Update unit test to conform to pin-entry mechanism change

The test failed after the changes in eb830c6fe178c519f81bd4fc4170f495b7d27f30, this should fix it

(well, at least it now passes, I am not yet deep enough into the code to confirm that the test is *right* :) )