modified tile_test.py