TST: util/testing improvements

assertRaises and assertRaisesRegexp are now with-statement-compatible,
refactored assert_panel_equal and removed check_index_freq from
assert_series_equal.