Added some tests for unused label issue.