add $window info to analysisControllerSpec to fix tests