Added test for virtual elements to alert tests