     steroids.view.on "created", ->
       created++
 
-    lulView = new steroids.views.WebView {location: "http://www.google.com", id:"eventTest"}
+    lulView = new steroids.views.WebView "http://www.google.com#00"
 
     steroids.layers.push {
-      view: "eventTest"
+      view: lulView
     }, {
       onSuccess: ->
         setTimeout ->

        done new Error "could not push layer: " + error.errorDescription
    }


  it "should track WebView preloaded & unloaded events", (done)->
    preloaded = 0

        testView.unload {},
          onSuccess: ->
            unloaded.should.equal 1, "unloaded event was not noticed"
            testView.unload {}
            done()
          onFailure: ->
            done new Error "could not unload view"
      onFailure: (error) ->
        done new Error "could not preload view: " + error.errorDescription
