 document.querySelector("#testPanel");
				a._scope.should.equal(document);
			});

			it("should return itself as _panel by default", function() {
				var a = document.querySelector("#testPanel");
				a._panel.should.equal(a);
			});

			it("should return _target which was specified by target attribute", function() {
				var a = document.querySelector("#testPanel"),
					t = document.querySelector("#target");
				a._target.should.equal(t);
			});

			it("should display on state change", function(done) {
		