Add hasTest to PaneEvent