added test for hiding label