Added tests for ifiles.py and fixed splat import.