Tests for Python2