IMO, these tests would be less verbose with assertRaises. what do you think?