Added tests for IsLabelActive method.