added tests for labels.