Added tests for TileLayer