collapsed labels

-Finished unit tests for the reverse label collapsing.