Exclude IDEA files.
Fix testing for snapshot regression.