Corrected mistake in stat command output
Added test for example input/output