quit with secondary window on top test