Add unit test for unmanaged files validation

Add unit test to check additional file validation of unmanaged
files inspector.