Add active class to lib
Update test for active state