Fix race condition in unittests by properly waiting for the proof of work to be resolved
Fix race condition in unittests by properly waiting for the proof of work to be resolved

vodkina/GlobaLeaks,vodkina/GlobaLeaks,vodkina/GlobaLeaks,vodkina/GlobaLeaks