test suite for IS.py + tweaks