Added truncated files tests