Add exception types to exception tests

Change-Id: Ibf5c89f1fd4e994c25b91e29e2f20dcb1165f091
diff --git a/tests/ls.cpp b/tests/ls.cpp
index e3287ee..47d28ed 100644
--- a/tests/ls.cpp
+++ b/tests/ls.cpp
@@ -172,6 +172,6 @@
                 input = "lssecond:a";
         }
 
-        REQUIRE_THROWS(parser.parseCommand(input, errorStream));
+        REQUIRE_THROWS_AS(parser.parseCommand(input, errorStream), InvalidCommandException&);
     }
 }