Added test for vocabulary