cleaned up the PageListenerTest