python3 compatibility fixes and add tests to the sdist
use Cling instead of Shock