adding unit tests for labels