CLN/TST: cleanup exception message testing by replacing with assertRaisesRegexp
Merge pull request #4114 from jreback/error_msgs

CLN/TST: cleanup exception message testing by replacing with assertRaisesRegexp