Add getVocabSize

Change-Id: I642b39b1186752387da2b555b6e6cb20a0952be5
diff --git a/t/server-test.t b/t/server-test.t
index 6ed4c57..5a216c6 100644
--- a/t/server-test.t
+++ b/t/server-test.t
@@ -1,6 +1,6 @@
 use strict;
 use warnings;
-use Test::More tests=>7;
+use Test::More tests=>8;
 use Mojo::JSON qw(decode_json encode_json to_json);
 use REST::Client;
 use Data::Dump qw(dump);
@@ -43,6 +43,9 @@
 $res = $client->responseContent();
 is($res, '"wpd19_10000"', "model name ok");
 
+$client->GET('http://localhost:3000/getVocabSize');
+$res = $client->responseContent();
+ok($res > 1000, "vocab size ok");
 
 for (my $i=0; $i<4; $i++) {
     $pid++;