TST: add assertRaises* contextmanagers + fixups

+ combine assert_panel_equal methods and other fixups