Improved legend test coverage
Merge pull request #367 from sclevine/master

Improved legend test coverage