test sha512 prng + cleanup