I think it might be nicer to state a more specific exception than simply `Exception` here as well as in your other test cases.