Fix imports
Fix tests
Try to install to avoid PYTHONPATH hacks