COMPAT/TST: add assertRaises and assertRaisesRegex to the base TestCase to avoid confusion
BUG: _flex_binary_moment() doesn't preserve column order or handle non-unique columns