consider assertRaisesMessage to make the test a bit more specific.