[tests] Test EOF condition handling in providers.
(merges (with modifications) https://github.com/apache/commons-vfs/pull/3)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/vfs/trunk@1592433 13f79535-47bb-0310-9956-ffa450edef68