added test for existence of getActiveClass function