Test active page code