Add new unit tests and fix an issue with duplicated labels for people.