Relocate file access mock to test package.
Merge pull request #1016 from tweise/hds

Relocate file access mock to test package.