refactoring before specing hoox
after_new_window hook ok