Should invalid cases be in one test?

I recently got introduced to unit testing and I have been doing some exercises. My question is regarding this image:

Picture in question

Should I write two individual tests to check if both the exceptions are being thrown or is it ok to bundle them in one test? What is the right way?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum