test/crypto: refactor scheduler workers init