Added some test cases to TileMap.