fixed file difference detection
Added test files