implement spec for history_file_exists?