Fix bad import syntax
Restore warnings
Make tests run