 
   @testPop: ->
     popped = ->
-      alert "popped"
+      notification "popped"
 
     steroids.layers.pop()
 


    @willChangeHandlers.push eventHandler

    alert "event listener added"

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

    @willChangeHandlers = []
    @didChangeHandlers = []

    notification "event handlers removed"

  @testRemovedidchangeEvents: ->
    steroids.layers.off 'didchange'

    notification "didchange events handlers removed"

  @testRemovewillchangeEvents: ->
    steroids.layers.off 'willchange'

    notification "willchange events handlers removed"

