Hard links will work only on a controlled "all local" environment. While testing on some IaaS cloud, for example, consistency of file systems is not guaranteed. Thus, the hard links created during testing related to SubmittedFiles tests may fail. Better use copy or symbolic linking instead.