improve vocabulary unittest coverage