Change file reference to class path reference.
Refactoring JUnit test.