This tests the effect of duplicated directives. It passes if a console warning is visible, and the alert() is executed.