add test cashfile func like subsequence