fixed up tests
obvious python3 stuff
fix links