Test fileprg for collections