This test is wrong, check that the expected exception gets thrown using the expected attribute of the @Test annotation