added test for active category