[labeling] Initial python unittest setup and some tests

- Note: some tests will fail until differences in platform dpi are worked out