remove assert_in, assert_not_in, and fix assert_raises to be compatible with python 2.6