Added tests for the method getSize class FileInfo.