Added test for tile.py