tests: bunch of manual corrections.
sed -ri 's#assert_\((.*) != None\)#assertIsNot(None, \1)#' *py