[PATCH RESEND v3 3/5] test_hash.c: split test_hash_init