Add fileprg tests for collections

See https://github.com/zendframework/zf2/pull/5244 
See https://github.com/zendframework/zf2/issues/4974