     @willChangeHandlers = []
     @didChangeHandlers = []
 
-    alert "event handlers removed"
+    notification "event handlers removed"
 
   @testRemovedidchangeEvents: ->
     steroids.layers.off 'didchange'
 
-    alert "didchange events handlers removed"
+    notification "didchange events handlers removed"
 
   @testRemovewillchangeEvents: ->
     steroids.layers.off 'willchange'
 
-    alert "willchange events handlers removed"
+    notification "willchange events handlers removed"
 


    @willChangeHandlers.push eventHandler

    alert "event listener added"

  @testdidchangeEvent: ->
    eventHandler = steroids.layers.on 'didchange', (event) ->

  @testInvalidLayerEvents: ->
    try
      steroids.layers.on 'invalidEventName', (event) ->
        notification "should never be invoked"
    catch error
      alert "steroids.layers.on callend with an invalid event name! error: #{error}"

