diff --git a/tests/test.html b/tests/test.html
new file mode 100644
index 0000000..550a43d
--- /dev/null
+++ b/tests/test.html
@@ -0,0 +1,15 @@
+
+
+
+
+ QUnit Example
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/tests.js b/tests/tests.js
new file mode 100644
index 0000000..5cc03cf
--- /dev/null
+++ b/tests/tests.js
@@ -0,0 +1,9 @@
+test( "Samsung test", function() {
+ var code = autoGetBiosPwd("07088120410C0000");
+ ok(code.samsung[0] == "12345", "Samsung 12345" );
+});
+
+test("Sony test", function() {
+ var code = autoGetBiosPwd("1234567");
+ ok(code.sony == "9648669", "Sony" );
+});