Generalize file reading test runner, use it for KDF and PBKDF