unit test for label