[labeling] Initial unittests