Added maximize for app in tests