1. The fact that you have one toaster pop-up open, shouldn't stop real-time alerts.
2. as I said the eicar text isn't likely to be an issue as it is a specific format and file size. My concern is getting in the habit of posting code that may trigger an alert. An html page is essentially a text page and the web shield scan it looking for exploits/malicious code, so other code examples could easily trigger alerts. We have seen this in the forums the past.