[BACKLOG-194] -- added many junit tests for FileResource REST methods
[BACKLOG-194] -- Final set of FileResource junit tests