Refactored AppDelegate Spec.  window tests.