diff --git a/spec/lib/session_spec.rb b/spec/lib/session_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/session_spec.rb
+++ b/spec/lib/session_spec.rb
@@ -182,6 +182,14 @@ describe Wsapi::Session do
     end
 
     context "without refresh_token" do
+      it "raises exception when response is 401" do
+        stub_request(:get, /.*/).to_return(status: 401)
+
+        expect {
+          @wsapi.get_user_subscription
+        }.to raise_error(Wsapi::AuthorizationError)
+      end
+
       it "raises exception when response is 403" do
         stub_request(:get, /.*/).to_return(status: 403)
Add test case for <I> too