Changed file comparison in unit tests from size to actual file content v...

...ariable