fix compatibility problem im sound_class tests (py2)