Use hasLegend attribute in nosetests
Merge pull request #982 from geoadmin/gjn_tests_morerobust

Use hasLegend attribute in nosetests