tests3.py script for testing squashed images