generate digests in the beginning of the test