small assertRaisesRegexp fixups