shouldn't the test fail in case of exception?