It looks like this is a problem with the tile cache used by the Cupertino, CA service. Looking at the service via the web interface, if you click on the Start tile for any zoom level < 13, you get a 404. Also, if you preview the layer using the ArcGIS JavaScript API, the layer disappears at the smaller scales. You could contact them and let them know their service's settings need to be adjusted to match the actually existing tiles.
In short, that code should work for both, and does to the extent that tiles are available.
Also, welcome to the site, and thanks for the JSFiddles demonstrating the problem!