         widthOfDrawerInPixels: 150 
     }, {
       onSuccess: success
+      onFailure: failure
     }
 
   @testUpdateWithParallax: ->
     success = ->
-      steroids.logger.log "SUCCESS"
+      steroids.logger.log "SUCCESS in changing drawer animation to parallax"
+    failure = ->
+      steroids.logger.log "FAILURE in testUpdateWithParallax"
 
     steroids.drawers.update
       options:

        widthOfDrawerInPixels: 280 
    }, {
      onSuccess: success
    }

  @testHideShadow: ->
    success = ->
      steroids.logger.log "SUCCESS"

    steroids.drawers.update {
      options:
        showShadow: false
    }, {
      onSuccess: success
    }

  @testShowShadow: ->
    success = ->
      steroids.logger.log "SUCCESS"

    steroids.drawers.update {
      options:
        showShadow: true
    }, {
      onSuccess: success
    }

  @testStretchDrawer: ->
    success = ->
      steroids.logger.log "SUCCESS"

    steroids.drawers.update {
      options: {


  @testShowNonPreloadedDrawerWithIdRight: ->
    success = ->
      steroids.logger.log "TEST SUCCESS because failed to set non-preloaded view as drawer"
    failure = ->
      steroids.logger.log "TEST FAIL managed to set non-preloaded view as drawer"

    newDrawer = new steroids.views.WebView
      location: "views/drawers/extraDrawer.html"
