diff --git a/spec/hook_handler/hook_handler_hook_spec.rb b/spec/hook_handler/hook_handler_hook_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/hook_handler/hook_handler_hook_spec.rb
+++ b/spec/hook_handler/hook_handler_hook_spec.rb
@@ -97,4 +97,13 @@ describe EvalHook::HookHandler, "hook handler hooks" do
     hh.evalhook("TestModule321::B")
   end
 
+  it "should intercept global_variable access" do
+    hh = EvalHook::HookHandler.new
+
+    hh.should_receive(:handle_gvar).with(:$global_variable_test)
+
+    hh.evalhook("$global_variable_test")
+  end
+
+
 end
\ No newline at end of file
added test for interception of global variable access (pass)