-QUnit.test("Access control", function () {
-
-});
\ No newline at end of file
+QUnit.module("Controls and access");
+QUnit.asyncTest("Gaining access", function() {
+ query("control", {params : {action : "start", force : true},
+ username : "mctxadmin", password : "admin",
+ callback : function(data) {
+ start();
+ ok(data.status >= 0, "Return status");
+
+ var key = data.key;
+
+ }});
+});