Add unit tests for Tile