Tests for layer name validator function
Merge branch 'layer-list-up' of github.com:mapbox/tm2 into layer-list-up