Index: test/js/testEverythingBasic.js
===================================================================
--- test/js/testEverythingBasic.js	(revision 136)
+++ test/js/testEverythingBasic.js	(working copy)
@@ -136,4 +136,17 @@
     assertEquals('Method returning a GValue', 42, i);
 }
 
+function testCallbacks() {
+    let someCallback = function() {
+                           return 42;
+                       };
+
+    Everything.test_set_callback_function(someCallback, null);
+
+    let i = Everything.test_call_callback_function();
+    assertEquals('Called the callback function', 42, i);
+
+    Everything.test_clear_callback_function();
+}
+
 gjstestRun();
