Label validator unit tests

Wrote some unit tests to check the recent fix to the label validator
Merge pull request #1688 from daviddavis/flv

TDD: Added some tests for the fixed label validation