Issue #134. Added tests for the File::truncate() method.