TST: allow back_compat of passing a dictionary format to Term

TST: change all warnings filters to use assert_catch_warnings