test rabin_file function