remove use of deprecated sqlparse.filters.Filters
use thread from six.moves in tests/tests.py