correct TileMapTest in another proper way.
Merge pull request #7140 from visiblelight/fix_tilemap_test

correct TileMapTest in another proper way