Left out a field.
Slightly less dangerous name.
Had to make a check less strenous; also added better debug info.
Made Bare layer types better; made test for bare layers.
Support for legendUrl.
Support for testing incorrect legendUrls.
Fixes #19.  Not great, but good enough for now.