tests for labels and associations