     steroids.drawers.update
       right: newDrawer
     ,
-      onSuccess: success
-      onFailure: failure
+      # test should not pass
+      onSuccess: failure
+      onFailure: success
 
 
 
   @testShowPreloadedDrawerRight: ->
     success = ->
-      alert "SUCCESS, check right drawer"
-    failure = ->
-      alert "FAILED"
+      steroids.logger.log "SUCCESS in updating preloaded view as right drawer"
+    failure = ->
+      steroids.logger.log "FAILED in testShowPreloadedDrawerRight"
 
     newDrawer = new steroids.views.WebView("views/drawers/extraDrawer.html")
 


  @testLegacyDisableGesture: ->
    success = ->
      steroids.logger.log "SUCCESS"
    failure = ->
      steroids.logger.log "FAILURE"

    steroids.drawers.disableGesture
      onSuccess: success

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

    steroids.drawers.update {
      options:
        widthOfLayerInPixels: 200
    }, {
      onSuccess: success
    }

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

    steroids.drawers.update {
      options:

        widthOfDrawerInPixels: 280 
    }, {
      onSuccess: success
      onFailure: failure
    }

  @testHideShadow: ->
    success = ->
      steroids.logger.log "SUCCESS in hiding drawer shadow"
    failure = ->
      steroids.logger.log "FAILURE in testHideShadow"

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

  @testShowShadow: ->
    success = ->
      steroids.logger.log "SUCCESS in showing drawer shadow"
    failure = ->
      steroids.logger.log "FAILURE in testShowShadow"

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

  @testStretchDrawer: ->
    success = ->
      steroids.logger.log "SUCCESS in enabling stretch effect for drawer"
    failure = ->
      steroids.logger.log "FAILURE in testStretchDrawer"

    steroids.drawers.update {
      options: {
