 
 		it "should set the initial state when creating a Layer", ->
 			layer = new Layer
-			layer.states.currentName.should.equal 'initial'
+			layer.states.currentName.should.equal initialStateName
 			layer.states.initial.x.should.equal 0
-			assert.deepEqual layer.stateNames, ['initial']
+			assert.deepEqual layer.stateNames, [initialStateName]
 
 		it "should listen to options provided to animateToNextState", ->
 			layer = new Layer

				stateA: x: 200, y: 300
				stateB: scale: 0.5
			assert.deepEqual layer.states.animatingKeys(), ["width", "height", "visible", "opacity", "clip", "scrollHorizontal", "scrollVertical", "x", "y", "z", "scaleX", "scaleY", "scaleZ", "scale", "skewX", "skewY", "skew", "originX", "originY", "originZ", "perspective", "perspectiveOriginX", "perspectiveOriginY", "rotationX", "rotationY", "rotationZ", "rotation", "blur", "brightness", "saturate", "hueRotate", "contrast", "invert", "grayscale", "sepia", "shadowX", "shadowY", "shadowBlur", "shadowSpread", "shadowColor", "backgroundColor", "color", "borderColor", "borderWidth", "force2d", "flat", "backfaceVisible", "name", "borderRadius", "html", "image", "scrollX", "scrollY", "mouseWheelSpeedMultiplier", "velocityThreshold", "constrained"]
			delete layer.states.initial
			assert.deepEqual layer.states.animatingKeys(), ["x","y","scale"]

		it "should still support layer.states.next", (done) ->

					stateA: x:200
					stateB: scale: 0.5
				assert.equal layer.states.previousName, null
				layer.states.currentName.should.equal initialStateName



